//
//  JYChatButton.m
//  NewOnly
//
//  Created by JY on 2017/5/4.
//  Copyright © 2017年 imOnly. All rights reserved.
//

#import "JYChatButton.h"

@implementation JYChatButton

-(void)layoutSubviews{
    [super layoutSubviews];
    self.titleLabel.textAlignment = NSTextAlignmentCenter;
    self.titleLabel.frame = CGRectMake(0, 0, self.frame.size.width, self.frame.size.height * 0.5);
    self.imageView.frame = CGRectMake(0, self.frame.size.height * 0.5, self.frame.size.width, self.frame.size.height * 0.5);
}

@end
